package com.makenv.service;

import com.makenv.dao.ArticleMapper;
import com.makenv.dao.NoticeMapper;
import com.makenv.domain.Article;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ArticleService {

    @Autowired
    ArticleMapper articleMapper;

    @Autowired
    NoticeMapper noticeMapper;

    public List<Article> showArticleList() {
        return articleMapper.showArticleList();
    }

    public String showNotice() {
        return noticeMapper.showNotice();
    }

}
